package com.springboot.hibernate.entity;

import javax.persistence.Entity;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

import lombok.Data;

/**
 * 管理员
 */
@Data
@Entity
@Table(name = "t_menu")
// @SequenceGenerator(name = "sequenceGenerator", sequenceName = "t_menu_sequence")
public class Menu extends BaseEntity {
    /** 名称 */
    private String title;
    
    /** 路径 */
    private String url;
    
    private Menu parent;
    
    /** 描述 */
    private String remark;
}
